
<div class="row" ms-controller="Test">
    <!--标题-->
    <div class="col-md-12">

        <div class="row">
            <button class="pull-right btn btn-info" ms-click="@Type='Add'">导出成绩</button>
        </div>

        <!--<div class="search_head col-md-8">-->
            <!--<span style=" font-size: 15px;">用户名 </span>-->
            <!--<input type="text" class="form-control"style=" display: inline-block;width: 180px;" >-->
            <!--<span style=" font-size: 15px;margin-left: 20px">身份证号 </span>-->
            <!--<input type="text" class="form-control" style=" display: inline-block;width: 180px;" >-->
            <!--<button type="button" class="btn btn-default navbar-btn" style="margin-left: 20px" :click="@scoreSearch">查询</button>-->
        <!--</div>-->
        <div class="search_head col-md-8" style="margin-top: 10px">
            <span style=" font-size: 15px;margin-left: 20px">层次 </span><input type="text" class="form-control" style=" display: inline-block;width: 150px;" >
            <span style=" font-size: 15px;margin-left: 20px">科目</span><select class="form-control" style=" display: inline-block;width: 150px;"><option></option></select>
            <span style=" font-size: 15px;margin-left: 20px">专业</span><select class="form-control" style=" display: inline-block;width: 150px;"><option></option></select>
            <span style=" font-size: 15px;">用户名 </span><input type="text" class="form-control" style=" display: inline-block;width: 150px;">
            <span style=" font-size: 15px;">身份证号 </span><input type="text" class="form-control" style=" display: inline-block;width: 150px;">
            <button type="button" class="btn btn-default navbar-btn" style="margin-left: 20px"
                    :click="@waysallfn">查询
            </button></div>


        <!-- 列表-->
        <br>

        <table class="table table-responsive table-bordered" style="margin: 50px 0px;text-align: center;" id="userTable">
            <thead style="word-break: keep-all;white-space: nowrap">
            <tr>
                <td><input type="checkbox">&nbsp;全选</td>
                <td style="display: none">UID</td>
                <td>姓名</td>
                <td>身份证号</td>
                <td>层次</td>
                <td>专业</td>
                <td>考试批次</td>
                <td>成绩</td>
                <td style="min-width: 145px;">操作</td>
            </tr>
            </thead>
            <tbody>
            <tr ms-for="(k,v) in @scoreData" class="ola-pointer">
                <!--ms-input="@all"-->
                <td style="cursor: pointer;text-align: center" class="ola-pointer">
                    <input type="checkbox">&nbsp;{{k+1}}
                </td>
                <td>{{v.UserName}}</td>
                <td>{{v.NID}}</td>
                <td>{{v.CName}}</td>
                <!--<td onclick="Translayer(v.CID)">Translayer({{v.CID}})</td>-->
                <td>{{v.ZName}}</td>
                <td>{{v.TBatch}}</td>
                <td>{{v.AllScore}}</td>
                <!--<td>{{v.SID}}</td>-->
                <td>查看详情</td>
            </tr>
            </tbody>
            <tfoot>
            <tr>
                <td colspan="80">
                    <div class="row">
                        <div class="col-md-5">
                            <span>第&nbsp;</span><span>{{@Search.P}}</span><span>&nbsp;页</span>&nbsp;&nbsp;
                            <span>共&nbsp;</span><span>{{@Search.TP}}</span><span>&nbsp;页</span>
                        </div>
                        <div class="col-md-5">
                            <ul class="pagination" style="margin: 0 0 0 0;">
                                <li :if="@Search.P>1"><a :click="@Search.P--">&laquo;</a></li>
                                <li :for="v in @Search.Pages" :click="@Search.P=v"><a
                                        :class="[(@Search.P==v?'selected':'')]">{{v}}</a></li>
                                <li :if="@Search.P<@Search.TP"><a :click="@Search.P++">&raquo;</a></li>
                            </ul>
                        </div>
                    </div>
                </td>
            </tr>
            </tfoot>
        </table>


        <!-- 分页-->
        <div style="margin-bottom: 120px;">
        </div>
        <div :if="@html.length>0" class="layui-layer-shade" id="layui-layer-shade" times="1"
             style="z-index:19891014; background-color:#000; opacity:0.3; filter:alpha(opacity=30);"></div>
        <div :if="@html.length>0" class="layui-layer layui-layer-page layui-layer-demo layer-anim-02"
             type="page" times="1" showtime="0" contype="string"
             style="z-index: 19891015; width: 80%; height: 80%; top: 87.5px; left: 144px;">
            <div id="" class="layui-layer-content" style="height: 698px;" ms-html="@html">
            </div>
            <span class="layui-layer-setwin"><a class="layui-layer-ico layui-layer-close layui-layer-close2"
                                                href="javascript:;" :click-1="@html=''" :click-2="@Type='List'">

        </a></span><span class="layui-layer-resize"></span>
        </div>
    </div>

</div>
